#!/bin/sh
# a script for using openvswitch when shuting down a KVM guest

switch='br0'
/sbin/ifconfig $1 0.0.0.0 down
ovs-vsctl del-port ${switch} $1
